package com.example.innovate.bean;

public class Result {
    //响应码
    private int code;
    private String status;
    private String msg;
    private Object data;


    public Result() {
    }

    public Result(String msg) {
        this.msg = msg;
    }

    public Result(int code,String status,Object data) {
        this.code = code;
        this.status = status;
        this.data = data;
    }
    public Result(int code,String status, String msg,Object data) {
        this.code = code;
        this.status = status;
        this.msg = msg;
        this.data = data;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
